/*****************************************************************
Copyright (c) 2011 - 2017 Qualcomm Technologies International, Ltd.

PROJECT
    source
    
FILE NAME
    source_debug.h

DESCRIPTION
    Controls debug output.
*/


#ifndef _SOURCE_DEBUG_H_
#define _SOURCE_DEBUG_H_


/* defines used to turn on debug output */
#define DEBUG_PRINT_ENABLED

#ifdef DEBUG_PRINT_ENABLED
    #include <stdio.h>
    #define SOURCE_DEBUG(x) {printf x;}
#else
    #define SOURCE_DEBUG(x)
#endif

/* defines used to display debug output in the source files */
#define xDEBUG_A2DP
#define xDEBUG_A2DP_MSG
#define xDEBUG_AGHFP
#define xDEBUG_AGHFP_MSG
#define xDEBUG_SC
#define xDEBUG_APP_MSG
#define xDEBUG_AUDIO
#define xDEBUG_AVRCP
#define xDEBUG_AVRCP_MSG
#define xDEBUG_BUTTONS
#define xDEBUG_CL_MSG
#define xDEBUG_CONNECTION_MGR
#define xDEBUG_PS
#define xDEBUG_DEFAULTS
#define xDEBUG_INIT
#define xDEBUG_TIMER
#define xDEBUG_INQUIRY
#define xDEBUG_LEDS
#define xDEBUG_MEMORY
#define xDEBUG_POWER
#define xDEBUG_PS
#define xDEBUG_SCAN
#define xDEBUG_STATES
#define xDEBUG_USB
#define xDEBUG_UPGRADE
#define xDEBUG_CALL_CONTROL

/* Display a Bluetooth address */
#define DEBUG_BDADDR(addr) /*DEBUG((" bdaddr [0x%x:0x%x:0x%lx]\n", addr.nap, addr.uap, addr.lap))*/
#define DEBUG_BTADDR(addr) /*DEBUG((" bdaddr [0x%x:0x%x:0x%lx]\n", addr->nap, addr->uap, addr->lap))*/

#endif /* _SOURCE_DEBUG_H_ */
